<?php

$ranges = array(
'2407:1000::/32' => 'NZ', '2407:100::/32' => 'VN', '2407:1100::/32' => 'MY', '2407:1200::/32' => 'JP', '2407:1300::/32' => 'MY', '2407:1400::/32' => 'NP', '2407:1500::/32' => 'BD', '2407:1600::/32' => 'HK', '2407:1700::/32' => 'AU', '2407:1800::/32' => 'PG', 
'2407:1900::/32' => 'CN', '2407:1a00::/32' => 'AU', '2407:1b00::/32' => 'PK', '2407:1c00::/32' => 'SG', '2407:1d00::/32' => 'CN', '2407:1e00::/32' => 'AU', '2407:1f00::/32' => 'HK', '2407:2000::/32' => 'KR', '2407:200::/32' => 'AU', '2407:2100::/32' => 'HK', '2407:2200::/32' => 'AU', 
'2407:2300::/32' => 'PG', '2407:2400::/32' => 'NZ', '2407:2500::/32' => 'AU', '2407:2600::/32' => 'AU', '2407:2700::/32' => 'AU', '2407:2800::/32' => 'WS', '2407:2900::/32' => 'IN', '2407:2a00::/32' => 'IN', '2407:2b00::/32' => 'NZ', '2407:2c00::/32' => 'TH', '2407:2d00::/32' => 'SG', 
'2407:2e00::/32' => 'AU', '2407:2f00::/32' => 'SG', '2407:3000::/32' => 'JP', '2407:300::/32' => 'AU', '2407:3100::/32' => 'HK', '2407:3300::/32' => 'JP', '2407:3400::/32' => 'IN', '2407:3500::/32' => 'KR', '2407:3600::/32' => 'AU', '2407:3700::/32' => 'CN', '2407:3800::/32' => 'SB', 
'2407:3900::/32' => 'CN', '2407:3a00::/32' => 'AU', '2407:3b00::/32' => 'PG', '2407:3c00::/32' => 'IN', '2407:3d00::/32' => 'TW', '2407:3e00::/32' => 'SG', '2407:3f00::/32' => 'BD', '2407:4000::/32' => 'MY', '2407:400::/32' => 'AU', '2407:4100::/32' => 'SG', '2407:4200::/32' => 'AU', 
'2407:4300::/32' => 'MY', '2407:4400::/32' => 'NZ', '2407:4500::/32' => 'PK', '2407:4600::/32' => 'ID', '2407:4700::/32' => 'TW', '2407:4800::/32' => 'FM', '2407:4900::/32' => 'TW', '2407:4a00::/32' => 'NC', '2407:4b00::/32' => 'TW', '2407:4c00::/32' => 'AU', '2407:4d00::/32' => 'TW', 
'2407:4e00::/32' => 'ID', '2407:4f00::/32' => 'CN', '2407:5000::/32' => 'BD', '2407:500::/32' => 'AU', '2407:5100::/32' => 'JP', '2407:5200::/32' => 'NP', '2407:5300::/32' => 'JP', '2407:5400::/32' => 'AU', '2407:5500::/32' => 'CN', '2407:5600::/32' => 'AU', '2407:5700::/32' => 'AU', 
'2407:5800::/32' => 'CK', '2407:5900::/32' => 'AU', '2407:5a00::/32' => 'PH', '2407:5b00::/32' => 'NZ', '2407:5c00::/32' => 'IN', '2407:5d00::/32' => 'MY', '2407:5e00::/32' => 'KH', '2407:5f00::/32' => 'MY', '2407:6000::/32' => 'MY', '2407:600::/32' => 'AU', '2407:6100::/32' => 'MM', 
'2407:6200::/32' => 'NP', '2407:6300::/32' => 'SG', '2407:6400::/32' => 'MN', '2407:6500::/32' => 'KR', '2407:6600::/32' => 'TH', '2407:6700::/32' => 'KR', '2407:6800::/32' => 'AU', '2407:6900::/32' => 'AU', '2407:6a00::/32' => 'AU', '2407:6b00::/32' => 'AU', '2407:6c00::/32' => 'MY', 
'2407:6d00::/32' => 'BD', '2407:6e00::/32' => 'AU', '2407:6f00::/32' => 'BD', '2407:7000::/32' => 'NZ', '2407:700::/32' => 'AU', '2407:7100::/32' => 'TW', '2407:7200::/32' => 'HK', '2407:7300::/32' => 'AU', '2407:7400::/32' => 'IN', '2407:7500::/32' => 'AU', '2407:7600::/32' => 'ID', 
'2407:7700::/32' => 'MY', '2407:7800::/32' => 'AU', '2407:7900::/32' => 'TH', '2407:7a00::/32' => 'TH', '2407:7b00::/32' => 'HK', '2407:7c00::/32' => 'SG', '2407:7d00::/32' => 'CN', '2407:7e00::/32' => 'HK', '2407:7f00::/32' => 'NZ', '2407:8000::/32' => 'HK', '2407:800::/32' => 'FJ', 
'2407:8100::/32' => 'SG', '2407:8200::/32' => 'ID', '2407:8300::/32' => 'NZ', '2407:8400::/32' => 'AU', '2407:8500::/32' => 'SG', '2407:8600::/32' => 'AU', '2407:8700::/32' => 'IN', '2407:8800::/32' => 'AU', '2407:8900::/32' => 'AU', '2407:8a00::/32' => 'JP', '2407:8b00::/32' => 'NZ', 
'2407:8c00::/32' => 'IN', '2407:8e00::/32' => 'AU', '2407:8f00::/32' => 'JP', '2407:9000::/32' => 'AU', '2407:900::/32' => 'HK', '2407:9100::/32' => 'KR', '2407:9200::/32' => 'PG', '2407:9300::/32' => 'IN', '2407:9400::/32' => 'MY', '2407:9500::/32' => 'NP', '2407:9700::/32' => 'IN', 
'2407:9800::/32' => 'PH', '2407:9900::/32' => 'JP', '2407:9a00::/32' => 'IN', '2407:9b00::/32' => 'AU', '2407:9c00::/32' => 'PK', '2407:9d00::/32' => 'NZ', '2407:9e00::/32' => 'PK', '2407:9f00::/32' => 'CN', '2407::/32' => 'ID', '2407:a000::/32' => 'FJ', '2407:a00::/32' => 'AU', 
'2407:a100::/32' => 'AU', '2407:a200::/32' => 'AU', '2407:a300::/32' => 'IN', '2407:a500::/32' => 'TH', '2407:a600::/32' => 'ID', '2407:a700::/32' => 'HK', '2407:a800::/32' => 'JP', '2407:a900::/32' => 'AU', '2407:aa00::/32' => 'AU', '2407:ab00::/32' => 'AU', '2407:ac00::/32' => 'SG', 
'2407:ad00::/32' => 'ID', '2407:ae00::/32' => 'AU', '2407:af00::/32' => 'AU', '2407:b000::/32' => 'JP', '2407:b001::/32' => 'JP', '2407:b00::/32' => 'KR', '2407:b100::/32' => 'BD', '2407:b200::/32' => 'KR', '2407:b300::/32' => 'HK', '2407:b400::/32' => 'HK', '2407:b500::/32' => 'AU', 
'2407:b600::/32' => 'AU', '2407:b700::/32' => 'HK', '2407:b800::/32' => 'KR', '2407:b900::/32' => 'IN', '2407:ba00::/32' => 'CN', '2407:bb00::/32' => 'IN', '2407:bc00::/32' => 'CN', '2407:bd00::/32' => 'HK', '2407:be00::/32' => 'AU', '2407:bf00::/32' => 'ID', '2407:c000::/32' => 'KR', 
'2407:c00::/32' => 'LK', '2407:c100::/32' => 'NZ', '2407:c200::/32' => 'ID', '2407:c300::/32' => 'NZ', '2407:c400::/32' => 'CN', '2407:c500::/32' => 'AU', '2407:c600::/32' => 'MY', '2407:c700::/32' => 'KR', '2407:c800::/32' => 'JP', '2407:c900::/32' => 'CN', '2407:ca00::/32' => 'NZ', 
'2407:cb00::/32' => 'IN', '2407:cc00::/32' => 'JP', '2407:cd00::/32' => 'HK', '2407:ce00::/32' => 'AU', '2407:cf00::/32' => 'CN', '2407:d000::/32' => 'PK', '2407:d00::/32' => 'NZ', '2407:d100::/32' => 'KR', '2407:d200::/32' => 'SG', '2407:d300::/32' => 'AU', '2407:d400::/32' => 'NP', 
'2407:d500::/32' => 'NZ', '2407:d600::/32' => 'JP', '2407:d700::/32' => 'BD', '2407:d800::/32' => 'JP', '2407:d900::/32' => 'AU', '2407:da00::/32' => 'IN', '2407:db00::/32' => 'HK', '2407:dc00::/32' => 'AU', '2407:dd00::/32' => 'AU', '2407:de00::/32' => 'MY', '2407:df00::/32' => 'ID', 
'2407:e000::/32' => 'SG', '2407:e00::/32' => 'AU', '2407:e100::/32' => 'HK', '2407:e200::/32' => 'MY', '2407:e300::/32' => 'HK', '2407:e400::/32' => 'AU', '2407:e500::/31' => 'IN', '2407:e600::/32' => 'JP', '2407:e700::/32' => 'AU', '2407:e800::/32' => 'CN', '2407:e900::/32' => 'IN', 
'2407:ea00::/32' => 'HK', '2407:eb00::/32' => 'SG', '2407:ec00::/32' => 'AU', '2407:ed00::/32' => 'TH', '2407:ee00::/32' => 'AU', '2407:ef00::/32' => 'SG', '2407:f000::/32' => 'AU', '2407:f00::/32' => 'ID', '2407:f100::/32' => 'NZ', '2407:f200::/32' => 'ID', '2407:f300::/32' => 'MM', 
'2407:f400::/32' => 'AU', '2407:f500::/32' => 'HK', '2407:f600::/32' => 'JP', '2407:f700::/32' => 'IN', '2407:f800::/32' => 'MY', '2407:f900::/32' => 'ID', '2407:fa00::/32' => 'HK', '2407:fd00::/32' => 'AU', '2407:fe00::/32' => 'AU', '2407:ff00::/32' => 'IN'
);